package org.yagnus.stats.samplers;

import java.util.List;

/*
 * This interface encapsulates most of java.util.Random class so it can be re-implemented it.
 */

public interface RandomNumberGenerater {

	public abstract void setSeed(long seed);

	public abstract void nextBytes(byte[] bytes);

	public abstract int nextInt();

	public abstract int nextInt(int n);

	public abstract long nextLong();

	public abstract boolean nextBoolean();

	public abstract float nextFloat();

	public abstract double nextDouble();

	public abstract double nextGaussian();

	public abstract <X> void shuffle(X[] arr);

	public abstract <X> void shuffle(List<X> arr);
}
